<%@ page import="javax.servlet.annotation.WebServlet" %><%--
  Created by IntelliJ IDEA.
  User: Hr
  Date: 2021/12/2
  Time: 12:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>index</title>
  </head>
  <body>
  hello,tomcat
  <form action="/request_demo1" method="GET">
    <input name="username"  type="text">
    <br>
    <input name="password"   type="password">
    <button type="submit">提交</button>

  </form>
  <hr>
  <form action="/request_demo4" method="POST">
    <input name="username" type="text"><br>
    <input name="password" type="password"><br>
    <input name="hobby" type="checkbox" value="LOL">LOL
    <input name="hobby" type="checkbox" value="7f">起凡
    <input name="hobby" type="checkbox" value="DOTA">DOTA
    <br>
    <input type="submit" value="注册">
    <br>
  </form>

  </body>
</html>
